package com.strato.mvc.api.v1_0_0.control;

import java.util.List;

import com.strato.mvc.api.v1_0_0.control.impl.DefaultRequestMappingRegistry;

public interface RequestMappingRegistry {

	public void addRequestMapping(String urlpattern, List<PathVariable> pathVariables,HttpInvoker invoker);
	
	public HttpInvoker getMappedInvoker(String url,PathVariableCollector pvc);

	public static RequestMappingRegistry getInstance(){
		return DefaultRequestMappingRegistry.getInstance();
	}

	public void removeInvokersByBundleName(String symbolicName);
}
